--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit fb5dcf06311e2a5f77a52baa9e29b373d3a09c7b
Parents : a23086d
Author : Mark Qvist <bc7291552be7a58f361522990465165c>
Date : 2026-05-02T13:12:07+02:00
Improved rngit page rendering
Changes
Diff
diff --git a/RNS/Utilities/rngit/pages.py b/RNS/Utilities/rngit/pages.py
index 3fad9d09..5c706639 100644
--- a/RNS/Utilities/rngit/pages.py
+++ b/RNS/Utilities/rngit/pages.py
@@ -306,25 +306,6 @@ class NomadNetworkNode():
content_parts.append(f"{self.m_link(self.icon("tag")+f" Tags ({tag_count})", self.PATH_REFS, g=group_name, r=repo_name, type="tags")}")
content_parts.append("\n\n<")
-
- # if refs:
- # content_parts.append(self.m_heading("Branches", 2))
- # content_parts.append("\n")
-
- # # Display first 10 branches
- # for ref in refs.get("heads", [])[:10]: content_parts.append(f" {ref['name']}: {ref['short_hash']}\n")
- # if len(refs.get("heads", [])) > 10: content_parts.append(f" ... and {len(refs['heads']) - 10} more\n")
- # content_parts.append("\n")
-
- # if refs.get("tags"):
- # content_parts.append(self.m_heading("Tags", 2))
- # content_parts.append("\n")
-
- # # Display first 10 tags
- # for ref in refs["tags"][:10]: content_parts.append(f" {ref['name']}: {ref['short_hash']}\n")
- # if len(refs["tags"]) > 10: content_parts.append(f" ... and {len(refs['tags']) - 10} more\n")
- # content_parts.append("\n")
-
# Readme content
readme_content, readme_is_markdown = self.get_readme_content(repo["path"])
if readme_content is not None:
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────